package ch.zbw.swt.sysventory.zzzzRIP;

import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.DefaultListModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import java.awt.GridLayout;



import IMG.GetPath;

public class GUIDefault {

	JFrame frame;


	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GUIDefault window = new GUIDefault();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public GUIDefault() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.getContentPane().setBackground(Color.WHITE);
		frame.setBackground(Color.WHITE);
		frame.setBounds(100, 100, 770, 480);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setResizable(false);
		
		
		JPanel panel = new JPanel();
		panel.setBackground(Color.WHITE);
		panel.setBounds(10, 11, 744, 83);
		frame.getContentPane().add(panel);
		panel.setLayout(null);
		
		//Bilder
		ImageIcon goArrow;
		ImageIcon backArrow;
		goArrow = new ImageIcon(
				GetPath.class.getResource("go.png"));			
		backArrow = new ImageIcon(
				GetPath.class.getResource("back.png"));
		
		JLabel lblMenu = new JLabel("Scannen");
		lblMenu.setFont(new Font("Impact", Font.PLAIN, 36));
		lblMenu.setBounds(322, 11, 209, 61);
		panel.add(lblMenu);
		
		JButton btnNewButton = new JButton(goArrow);
		btnNewButton.setBackground(Color.WHITE);
		btnNewButton.setBounds(592, 11, 129, 61);
		btnNewButton.setBorder(null);
		panel.add(btnNewButton);
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		
		JButton btnNewButton_1 = new JButton(backArrow);
		btnNewButton_1.setBackground(Color.WHITE);
		btnNewButton_1.setBounds(24, 11, 129, 61);
		btnNewButton_1.setBorder(null);
		panel.add(btnNewButton_1);

	}
	
	
	
}
